<template>
	<view>
		<u-navbar placeholder :autoBack="true" title="网红打卡"></u-navbar>
		<scroll-view @scrolltolower="onLower" @scroll="handleScroll" :scroll-y="true" :style="{height: scrollViewHeight, backgroundColor: '#fff'}">
			<view style="padding: 32rpx;">
				<u-parse :content="content"></u-parse>
			</view>
		</scroll-view>
	</view>
</template>

<script>
	import {survey} from '@/api/home.js';
	import {mapActions} from 'vuex';
	export default {
		data() {
			return {
				content: ''
			}
		},
		computed: {
			appColor() {
				return this.appPrimaryColor || '#f40215'
			},
			scrollViewHeight() {
				return this.scrollHeight - 44 + 'px';
			}
		},
		onLoad() {
			survey().then(res => {
				this.content = res.result.clockIn;
			})
		}
	}
</script>


<style lang="scss" scoped>
	
</style>
